<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
  <link rel="stylesheet" href="/static/layui/css/layui.css">
  <title>update</title>
</head>
<body>
<h1></h1>
<br>
<br>
<br>
<br>
<form class="layui-form">

  <%--    隐藏域--%>
  <input type="hidden" name="id" value="${user.id}">

  <div class="layui-form-item">
    <label class="layui-form-label">姓名</label>
    <div class="layui-input-inline layui-input-wrap">
      <input type="text" name="name" id="name" lay-verify="required" value="${user.name}" autocomplete="off" lay-affix="clear" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">密码</label>
    <div class="layui-input-inline layui-input-wrap">
      <input type="text" name="pass" id="pass" lay-verify="required" value="${user.pass}" autocomplete="off" lay-affix="clear" class="layui-input">
    </div>
  </div>
</form>
<script src="/static/js/jquery-3.7.1.min.js">

</script>
</body>
</html>
